// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

/** 获取部门列表  */
export async function getMenuList(params?: { roleId: number } | null) {
  return request('/api/v1/menu/getMenuList', {
    method: 'POST',
    data: params,
  });
}
